<?php

/**
 * Created by PhpStorm.
 * User: evan
 * Date: 2017/6/16
 * Time: 下午4:25
 */
class Index extends MY_Api_Controller
{
    /**
     * 我的直播
     */
    public function my()
    {
        $uid    = $this->uid;
        $by_uid = (int)$this->input->get_post('by_uid');
        $page   = (int)$this->input->get_post('page');
        $limit  = (int)$this->input->get_post('limit');


        $this->load->service('direct_seeding/service_direct_seeding_index');
        $data = $this->service_direct_seeding_index->my($by_uid, $page, $limit);


        $this->json_output($data['data'], $data['status']);
    }
}